package com.alinesno.cloud.busines.demo.entity;
import com.alinesno.sdk.generator.table.annotation.ColumnComment;
import com.alinesno.sdk.generator.table.annotation.ColumnType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alinesno.cloud.common.facade.mapper.entity.BaseEntity;

/**
 * 功能名： 成绩
 * 数据表：  learn_grade
 * 表备注： 成绩表
 * @author wh ${authorEmail}
 * @date 2021-09-06 22:52:32
 */
@TableName("learn_grade")
public class LearnGradeEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;
    // fields
    @ColumnComment("studentId")
    @Excel(name="studentId")
    @ColumnType(length = 64)
    @TableField("student_id")
    private String studentId;
    @ColumnComment("courseId")
    @Excel(name="courseId")
    @ColumnType(length = 64)
    @TableField("course_id")
    private String courseId;
    @ColumnComment("teacherId")
    @Excel(name="teacherId")
    @ColumnType(length = 64)
    @TableField("teacher_id")
    private String teacherId;
    @ColumnComment("grade")
    @Excel(name="grade")
    @ColumnType(length = 0)
    @TableField("grade")
    private Long grade;
    //getter and setter
    public String getStudentId(){
        return this.studentId;
    }
    public LearnGradeEntity setStudentId(String arg){
        this.studentId = arg;
        return this;
    }
    public String getCourseId(){
        return this.courseId;
    }
    public LearnGradeEntity setCourseId(String arg){
        this.courseId = arg;
        return this;
    }
    public String getTeacherId(){
        return this.teacherId;
    }
    public LearnGradeEntity setTeacherId(String arg){
        this.teacherId = arg;
        return this;
    }
    public Long getGrade(){
        return this.grade;
    }
    public LearnGradeEntity setGrade(Long arg){
        this.grade = arg;
        return this;
    }
}
